<?php

namespace App\Http\Controllers;



use App\HomePage;
use App\Http\Requests;
use App\Http\Controllers\Controller;

class HomeController extends Controller
{
    /**
     * 手机商城首页
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
    public function index()
    {
      $homepage=  HomePage::orderBy('sort','desc')->get();
      return view('mobile.home.index',compact('homepage'));
    }

}
